package com.hb.core.pojo.project.section.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hb.core.pojo.parent.MPCommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author yyx
 * @date 2022/5/16
 * @desc 专家询标投标人回复信息
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("trade_inquiry_reply")
@ApiModel(value = "InquiryReply对象", description = "专家询标投标人回复信息")
public class InquiryReply extends MPCommonEntity {

    @ApiModelProperty(value = "询标ID")
    private Long inquiryId;

    @ApiModelProperty(value = "投标人ID")
    private Long bidderId;

    @ApiModelProperty(value = "询标回复时间")
    @JsonFormat(shape= JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime replyTime;

    /**
     * 附件表：FileRecord
     */
    @ApiModelProperty(value = "回复附件ID")
    private Long replyFileId;

}
